<?php
namespace app\admin\Validate;
use think\Validate;

class Login extends Validate{

    //验证规则
    protected $rule = [
        'account'     =>'require',
        'password'    =>'require',
    ];

    protected $message  =  [
        'account.require'     => '账号必须填写',
        'password.require'    => '密码必须填写',
    ];


}